<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core">

    <style type="text/css">
        .canc{
            background-image: url("../resources/images/ajax_small.gif");
        }        
    </style> 

    <body>

        <ui:composition template="../plantilla/Plantilla_ventas.xhtml">

            <ui:define name="top">
                <ui:include src="../plantilla/top.xhtml" />
            </ui:define>    

            <ui:define name="left">
                <ui:include src="../plantilla/left.xhtml" />
            </ui:define>

            <ui:define name="content">

                <table align="center"><tr><td><br/><br/>
                            <table width="280" border="0" align="left" cellspacing="0" cellpadding="0">
                                <tr>
                                    <td style="background-image:url(../../resources/images/3_121.gif)" width="79" height="41">
                                        <b><h:outputText style="color: #ffffff; font-size: 13px" value="Libro diario"/></b>
                                        <!--width="279" height="41" alt=""/-->
                                    </td>
                                </tr>                               
                            </table>
                            
                        </td></tr>
                    <tr><td>
                            <table  border="0" cellspacing="0" align="left" cellpadding="0">
                                <tr>
                                    <td width="12"></td>
                                    <td><div align="justify"><span class="main">                                                               

                                                <br/>
                                                <p:growl id="grow2" showDetail="true" />  

                                                <p:fieldset legend="&nbsp;" toggleable="true" toggleSpeed="500">                                                   

                                                    <p:ajax event="toggle" update="grow2" />          
                                                    
                                                    <p:dataTable var="car" value="" style="700">
                                                        <f:facet name="header">  
                                                            Libro diario
                                                        </f:facet>            
                                                        <p:column style=" vertical-align: top">
                                                            <f:facet name="header">
                                                                <h:outputText value="Nº de partida" />
                                                            </f:facet>
                                                            <h:outputText value="PED-01001" /><br/>                                                            
                                                        </p:column>
                                                        <p:column style=" vertical-align: top">
                                                            <f:facet name="header">
                                                                <h:outputText value="Fecha" />
                                                            </f:facet>
                                                            <h:outputText value="11-02-2013" />                                                            
                                                        </p:column>
                                                        <p:column style=" vertical-align: top">
                                                            <f:facet name="header">
                                                                <h:outputText value="Codigo" />
                                                            </f:facet>
                                                            <h:outputText value="110101" /><br/>
                                                            <h:outputText value="210102" />
                                                        </p:column>
                                                        <p:column  style="width: 600px">
                                                            <f:facet name="header">
                                                                <h:outputText value="Cuenta" />
                                                            </f:facet>
                                                            <h:outputText value="Caja" /><br/>
                                                            <h:outputText value="Proveedores" /><br/>
                                                            <!--b><h:outputText value="Total" style="font-style: italic" /></b-->
                                                            <b><h:outputText value="Total"/></b>
                                                        </p:column>
                                                        <p:column>
                                                            <f:facet name="header">
                                                                <h:outputText value="Debe" />
                                                            </f:facet>
                                                            <h:outputText value="500.00" /><br/>
                                                            <h:outputText value="0.00" /><br/>
                                                            <b><h:outputText value="500.00" /></b>
                                                        </p:column>
                                                        <p:column>
                                                            <f:facet name="header">
                                                                <h:outputText value="Haber" />
                                                            </f:facet>
                                                            <h:outputText value="0.00"/><br/>
                                                            <h:outputText value="500.00" /><br/>
                                                            <b><h:outputText value="500.00" /></b>
                                                        </p:column>       
                                                    </p:dataTable>
                                                        

                                                </p:fieldset>     
                                            </span></div></td>
                                    <td width="12" height="154">&nbsp;</td>
                                </tr>
                            </table>
                        </td></tr></table>
                            
                                            
                
            </ui:define>

            <ui:define name="bottom">
                <ui:include src="../plantilla/bottom.xhtml" />                
            </ui:define>

        </ui:composition>

    </body>
</html>
